package com.yuchen.ishop.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * 模版
 */
@Table("t_goods_templates")
public class GoodsTemplate implements Serializable {

    @Id
    private Long id;

    @Column("template_name")
    private String templateName;

    @Column("publish_state")
    private Long publishState;

    @Column("seller_id")
    private Long sellerId;

    @Column("name")
    private String name;

    @Column("dictionary_id")
    private Long dictionaryId;

    @Column("seller_xiaoer_id")
    private Long xiaoerId;

    @Column("price")
    private Double price;

    @Column("tag_names")
    private String tagNames;

    @Column("recommend")
    private Long recommend;

    @Column("content")
    private String content;

    @Column("avg_price")
    private Long avgPrice;

    @Column("room")
    private Long room;

    @Column("hall")
    private Long hall;

    @Column("toilet")
    private Long toilet;

    @Column("cookroom")
    private Long cookroom;

    @Column("house_size")
    private Long houseSize;

    @Column("orientation")
    private String orientation;

    @Column("house_floor")
    private String houseFloor;

    @Column("house_floor1")
    private Long houseFloor1;

    @Column("house_floor2")
    private Long houseFloor2;

    @Column("house_age")
    private Long houseAge;

    @Column("build_year")
    private Date buildYear;

    @Column("decorate")
    private String decorate;

    @Column("structure")
    private String structure;

    @Column("subway")
    private Short subway;

    @Column("province_id")
    private Long provinceId;

    @Column("city_id")
    private Long cityId;

    @Column("area_id")
    private Long areaId;

    @Column("create_time")
    private Timestamp createTime;

    @Column("owner")
    private String owner;

    @Column("owner_phone")
    private String ownerPhone;

    @Column("community_name")
    private String communityName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public Long getPublishState() {
        return publishState;
    }

    public void setPublishState(Long publishState) {
        this.publishState = publishState;
    }

    public Long getSellerId() {
        return sellerId;
    }

    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getDictionaryId() {
        return dictionaryId;
    }

    public void setDictionaryId(Long dictionaryId) {
        this.dictionaryId = dictionaryId;
    }

    public Long getXiaoerId() {
        return xiaoerId;
    }

    public void setXiaoerId(Long xiaoerId) {
        this.xiaoerId = xiaoerId;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getTagNames() {
        return tagNames;
    }

    public void setTagNames(String tagNames) {
        this.tagNames = tagNames;
    }

    public Long getRecommend() {
        return recommend;
    }

    public void setRecommend(Long recommend) {
        this.recommend = recommend;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getAvgPrice() {
        return avgPrice;
    }

    public void setAvgPrice(Long avgPrice) {
        this.avgPrice = avgPrice;
    }

    public Long getRoom() {
        return room;
    }

    public void setRoom(Long room) {
        this.room = room;
    }

    public Long getHall() {
        return hall;
    }

    public void setHall(Long hall) {
        this.hall = hall;
    }

    public Long getToilet() {
        return toilet;
    }

    public void setToilet(Long toilet) {
        this.toilet = toilet;
    }

    public Long getCookroom() {
        return cookroom;
    }

    public void setCookroom(Long cookroom) {
        this.cookroom = cookroom;
    }

    public Long getHouseSize() {
        return houseSize;
    }

    public void setHouseSize(Long houseSize) {
        this.houseSize = houseSize;
    }

    public String getOrientation() {
        return orientation;
    }

    public void setOrientation(String orientation) {
        this.orientation = orientation;
    }

    public String getHouseFloor() {
        return houseFloor;
    }

    public void setHouseFloor(String houseFloor) {
        this.houseFloor = houseFloor;
    }

    public Long getHouseFloor1() {
        return houseFloor1;
    }

    public void setHouseFloor1(Long houseFloor1) {
        this.houseFloor1 = houseFloor1;
    }

    public Long getHouseFloor2() {
        return houseFloor2;
    }

    public void setHouseFloor2(Long houseFloor2) {
        this.houseFloor2 = houseFloor2;
    }

    public Long getHouseAge() {
        return houseAge;
    }

    public void setHouseAge(Long houseAge) {
        this.houseAge = houseAge;
    }

    public Date getBuildYear() {
        return buildYear;
    }

    public void setBuildYear(Date buildYear) {
        this.buildYear = buildYear;
    }

    public String getDecorate() {
        return decorate;
    }

    public void setDecorate(String decorate) {
        this.decorate = decorate;
    }

    public String getStructure() {
        return structure;
    }

    public void setStructure(String structure) {
        this.structure = structure;
    }

    public Short getSubway() {
        return subway;
    }

    public void setSubway(Short subway) {
        this.subway = subway;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getOwnerPhone() {
        return ownerPhone;
    }

    public void setOwnerPhone(String ownerPhone) {
        this.ownerPhone = ownerPhone;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }
}
